import { getInfo,setInfo } from "@/utils/storage";

export default {
    namespaced:true,
    state(){
        return{
            userInfo:getInfo()
        }
    },
    Mutations:{
        setUserInfo(state,obj) {
            state.userInfo=obj
            setInfo(obj)
        }
    },
    actions:{},
    getters:{}
}